export const columns = [
    {
        title:'题号',
        key:'QID',
        width:20
    },
    {
        title:'标题',
        key:'title',
        width:20
    },
    {
        title:'类型',
        key:'type',
        width:20,
        render(row) {
            if(row.type == 0) return '单选';
            else if(row.type == 1) return '多选';
            else if(row.type == 2) return '判断';
            else if(row.type == 3) return '填空';
            else if(row.type == 4) return '简答';
        },
    },
    {
        title:'标签',
        key:'tag',
        width:20
    }
]